home *** CD-ROM | disk | FTP | other *** search
/ BUG 3 / BUGCD1997_03.ISO / mac / Aplikacije / Internet / HTML Voc 1.71 / HTML Vocabulary 1.7.1 / HTML Vocabulary 1.7.1.rsrc / TEXT_1900_Tables.txt < prev    next >
Text File  |  1997-01-12  |  3KB  |  49 lines

  1.  
  2. Tables    
  3.  
  4. <TABLE [...]>
  5. Start tag of a table. Must end with the </TABLE> tag. The following parameters are allowed:
  6.  
  7. BORDER=n
  8. Gives the table a 3D-look. n is the width of the border in dots.
  9.  
  10. CELLSPACING=n
  11. Sets the space between cells in dots.
  12.  
  13. CELLPADDING=n
  14. Sets the space between the contains of the cells to the cells border.
  15.  
  16. WIDTH=n|n%
  17. Sets the width of the table in dots or in percent of the page.
  18.  
  19. BACKGROUND=url
  20. Defines a background of the table. Internet Explorer tag.
  21.  
  22. BGCOLOR=color
  23. Defines the background color of the table. Explorer tag.
  24.  
  25. BORDERCOLOR=color
  26. Defines the border color of the table. Explorer tag.
  27.  
  28. BORDERCOLORLIGHT=color
  29. Defines the light shadow color of the table. Explorer tag.
  30.  
  31. BORDERCOLORDARK=color
  32. Defines the dark shadow color of the table. Explorer tag.
  33.  
  34. RULES=NONE|ROWS|COLS
  35. This is an Internet Explorer tag that can be used to just show horizontal or vertical rules in the table. NONE will just show the table frame.
  36.  
  37. Table tags    
  38.  
  39. <CAPTION [ALIGN=TOP|BOTTOM]>text</CAPTION>
  40. "text" will be the tables header. Use this tag inside the <TABLE> tag, but not within lines. You can show the header over or under the TABLE by setting ALIGN to TOP resp. BOTTOM.
  41.  
  42. <TR [ALIGN=LEFT|CENTER|RIGHT] [VALIGN=TOP|MIDDLE|BOTTOM|BASELINE] [BACKGROUND=url] [BGCOLOR=color] [HEIGHT=n|n%]>
  43. Start a new line in the table. ALIGN sets the horizontal adjusments for the lines text and VALIGN the vertical adjustment. BGCOLOR is a background color. HEIGHT is the minimum height of the row in pixels or percent. HEIGHT is not defined in a HTML standard, but works in Netscape 2.x. Must not end with </TR> according to HTML 3.2, but see below about nested tables.
  44.  
  45. <TD|TH [ALIGN=LEFT|CENTER|RIGHT] [VALIGN=TOP|MIDDLE|BOTTOM|BASELINE] [NOWRAP] [COLSPAN=N] [ROWSPAN=N] [WIDTH=N] [BACKGROUND=url] [BGCOLOR=color] [HEIGHT=n|n%]>
  46. TD and TH insert a new cell. TH stands for 'table header' and displays the contents of the cell in bold. ALIGN sets the adjustments of the text. NOWRAP prevents the browser from wrapping the cell contents. COLSPAN can be used to let the cell go over more than one column. Default is 1. ROWSPAN is the same thing, but let the cell go over more than one line. Default setting is 1. WIDTH sets the width of the cell. BGCOLOR is a background color. HEIGHT is the minimum height of the cell in pixels or percent.
  47.  
  48. The ending </TR>, </TD> or </TH> is not required in HTML 3.2 since any following tag defining a row, cell or table closes the previous cell definition, but because of a bug in Netscape Navigator it is necessary to include these end tags when using nested tables.
  49.